#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   word_compare.py    
@Contact :   fengfeng.qiu@amh-group.com

@Modify Time      @Author    
------------      -------    
2022/5/6 16:13   qiufengfeng      
'''

old = []
new = []

with open('old.txt',encoding='utf-8') as fread:
    for line in fread:
        word, type = line.strip().split(" ")
        if type == "contraband":
            old.append(line.strip())

with open('new.txt',encoding='utf-8') as fread:
    for line in fread:
        word,type = line.strip().split(" ")
        if type == "contraband":
            new.append(line.strip())

print(len(old))
print(len(new))
